package code.structure.module.configs.data
{
	/**
	 *等级配置数据 
	 * @author Yuri
	 * 
	 */
	public class LevelConfigData
	{
		/**
		 *等级 
		 */
		public var id:int;
		/**
		 *其实经验 
		 */
		public var startexp:int;
		/**
		 *结束经验 
		 */
		public var endexp:int;
		public function LevelConfigData(obj:Object=null)
		{
			if(obj) parseData(obj);
		}
		
		public function parseData(obj:Object):void{
			for(var key:String in obj){
				if(this.hasOwnProperty(key)){
					this[key] = obj[key];
				}
			}
		}
	}
}